package day7.Exer;

public class Teachertest {
    public static void main(String[] args) {
        Javateacher a= new Javateacher("刘老师",26,"男","Idea","java","java");
        a.selfIntroduce();
        a.giveLession();
        UIteacher b=new UIteacher("李老师",23,"男","Photoshop","UI");
        b.selfIntroduce();
        b.giveLession();
        Netteacher c= new Netteacher("王老师",26," 女"," Visual studio",".Net");
        c.selfIntroduce();
        c.giveLession();
    }
}
